package com.blb.community.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

@Data
@TableName("zy_room")
public class ZyRoom {
  @TableId
  @JsonFormat(shape = JsonFormat.Shape.STRING)
  private Long roomId;
  @JsonFormat(shape = JsonFormat.Shape.STRING)
  private Long communityId;
  @JsonFormat(shape = JsonFormat.Shape.STRING)
  private Long buildingId;
  @JsonFormat(shape = JsonFormat.Shape.STRING)
  private Long unitId;

  @TableField(exist = false)
  private String communityName;
  @TableField(exist = false)
  private String buildingName;
  @TableField(exist = false)
  private String unitName;
  @TableField(exist = false)
  private String roomName;

}
